package net.xumf.support.model.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * select2 前端控件模型
 * https://select2.org
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Select2ControlVO {

    // key 键
    private String id;
    // value 值
    private String text;
    // 是否已选择
    private boolean selected = false;

    // 是否可用
    private boolean disabled = false;
}
